<style>
    .el-tag {
        background-color: rgba(64,158,255,.1);
        padding: 0 10px;
        height: 32px;
        line-height: 30px;
        font-size: 12px;
        color: #409eff;
        border-radius: 4px;
        box-sizing: border-box;
        border: 1px solid rgba(64,158,255,.2);
        display: inline-block;
    }
</style>
<div class="panel panel-default panel-intro">
    <div  class="base-title">
        入库记录
    </div>
    
    <!-- 此处由ininventory.js调用获取选择项 -->
    <div id="warehouse_code" style="display: none">
      <select class="form-control" name="warehouse_code" >
        {foreach name="wms" item="vo"}
            <option value="{$vo.code}">{$vo.name}</option>
        {/foreach}
      </select>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-success add-track btn-disabled disabled {:$auth->check('item/item/del')?'':'hide'}" >{:__('TraceOuder')}</a>
                        <a href="javascript:;" class="btn btn-success print_inventory btn-disabled disabled {:$auth->check('')?'':'hide'}" >打印入库单</a>
                        <a style="display: none" href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('warehouse/ininventory/edit')}" 
                           data-operate-del="{:$auth->check('warehouse/ininventory/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
